import {View, Button, Text, Image, ScrollView, Radio} from '@tarojs/components';
import Taro from '@tarojs/taro';
import React, {Component} from 'react';
import * as T from '../types';
import './memberEquity.less';
import actions from '../actions/index';
import {connect} from 'react-redux';
import {store2Props} from '../selectors';
interface ComponentState {
  newUserModel: boolean;
}

type ITopProps = T.IProps & T.ITopProps & ComponentState;
//@ts-ignore
@connect<Partial<ITopProps>, T.ITopState>(store2Props, actions)
export default class Info extends Component<Partial<ITopProps>, T.ITopState> {
  constructor(props: ITopProps) {
    super(props);
    this.state = {};
  }

  render() {
    let {
      actions: {action},
    } = this.props;
    return (
      <>
        <View style={{width: '100%', height: '32rrx', background: '#f5f7f9', marginTop: '32rpx'}} />
        <View className="memberEquity">
          <View className="memberEquity-title">
            <View
              style={{
                background: '#636E98',
                width: '64rpx',
                height: '4rpx',
                marginRight: '16rpx',
              }}
            />
            会员权益
            <View
              style={{
                marginLeft: '16rpx',
                background: '#636E98',
                width: '64rpx',
                height: '4rpx',
              }}
            />
          </View>
          <View className="memberEquityList">
            <View className="memberEquityList-item">
              <Text className="memberEquityList-title">社区服务</Text>
              <Text className="memberEquityList-subContent">省心便捷随心抵</Text>
              <Text className="memberEquityList-subContent">你想要我的都有</Text>
            </View>
            <View className="memberEquityList-item">
              <Text className="memberEquityList-title">社区服务</Text>
              <Text className="memberEquityList-subContent">省心便捷随心抵</Text>
              <Text className="memberEquityList-subContent">你想要我的都有</Text>
            </View>
            <View className="memberEquityList-item">
              <Text className="memberEquityList-title">社区服务</Text>
              <Text className="memberEquityList-subContent">省心便捷随心抵</Text>
              <Text className="memberEquityList-subContent">你想要我的都有</Text>
            </View>
            <View className="memberEquityList-item">
              <Text className="memberEquityList-title">社区服务</Text>
              <Text className="memberEquityList-subContent">省心便捷随心抵</Text>
              <Text className="memberEquityList-subContent">你想要我的都有</Text>
            </View>
          </View>
        </View>
      </>
    );
  }
}
